Optimal. Leaf size=31 \[ \frac{\cot (x)}{\sqrt{a \cot ^4(x)}}-\frac{x \cot ^2(x)}{\sqrt{a \cot ^4(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0161043, antiderivative size = 31, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {3658, 3473, 8} \[ \frac{\cot (x)}{\sqrt{a \cot ^4(x)}}-\frac{x \cot ^2(x)}{\sqrt{a \cot ^4(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3658
Rule 3473
Rule 8
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a \cot ^4(x)}} \, dx &=\frac{\cot ^2(x) \int \tan ^2(x) \, dx}{\sqrt{a \cot ^4(x)}}\\ &=\frac{\cot (x)}{\sqrt{a \cot ^4(x)}}-\frac{\cot ^2(x) \int 1 \, dx}{\sqrt{a \cot ^4(x)}}\\ &=\frac{\cot (x)}{\sqrt{a \cot ^4(x)}}-\frac{x \cot ^2(x)}{\sqrt{a \cot ^4(x)}}\\ \end{align*}
Mathematica [A] time = 0.0224911, size = 21, normalized size = 0.68 \[ \frac{\cot (x)-x \cot ^2(x)}{\sqrt{a \cot ^4(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.084, size = 26, normalized size = 0.8 \begin{align*}{\cot \left ( x \right ) \left ( \left ({\frac{\pi }{2}}-{\rm arccot} \left (\cot \left ( x \right ) \right ) \right ) \cot \left ( x \right ) +1 \right ){\frac{1}{\sqrt{a \left ( \cot \left ( x \right ) \right ) ^{4}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.52214, size = 18, normalized size = 0.58 \begin{align*} -\frac{x}{\sqrt{a}} + \frac{\tan \left (x\right )}{\sqrt{a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.10897, size = 203, normalized size = 6.55 \begin{align*} \frac{{\left (x \cos \left (2 \, x\right )^{2} -{\left (\cos \left (2 \, x\right ) - 1\right )} \sin \left (2 \, x\right ) - x\right )} \sqrt{\frac{a \cos \left (2 \, x\right )^{2} + 2 \, a \cos \left (2 \, x\right ) + a}{\cos \left (2 \, x\right )^{2} - 2 \, \cos \left (2 \, x\right ) + 1}}}{a \cos \left (2 \, x\right )^{2} + 2 \, a \cos \left (2 \, x\right ) + a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{a \cot ^{4}{\left (x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: TypeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]